package com.wxzz.elearing.pay.service.openfeign;

import com.wxzz.elearning.common.vo.ReturnVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

@FeignClient("3002-wxzz-file-model-app")
public interface IObsApiFeign {

    /**
     * 支付码生成图片
     * @param map
     * @return
     */
    @RequestMapping(value = "/obs-api/makePayImage", method = RequestMethod.POST,consumes = MediaType.APPLICATION_JSON_VALUE)
    ReturnVO<String> makePayImage(@RequestBody Map<String, String> map);
}
